package com.mapper;

import java.util.List;

import com.bean.PurchaseOrderMaterial;

public interface PurchaseOrderMaterialMapper {
    int deleteByPrimaryKey(Integer purchaseOrderMaterialId);

    int insert(PurchaseOrderMaterial record);

    int insertSelective(PurchaseOrderMaterial record);

    PurchaseOrderMaterial selectByPrimaryKey(Integer purchaseOrderMaterialId);
    
    List<PurchaseOrderMaterial> selectByPurchaseOrderId(Integer purchaseOrderId);
    
    List<PurchaseOrderMaterial> selectSumMaterialQuantity();

    int updateByPrimaryKeySelective(PurchaseOrderMaterial record);

    int updateByPrimaryKey(PurchaseOrderMaterial record);
}